package com.wdz.article.controller;

import org.bouncycastle.math.raw.Mod;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
//@RestController
//@RequestMapping("/ht")
public class ArticleController {
    //@Value("${spring.application.name}")
    //private String a;
    //@Autowired
    //private IArticleService iArticleService;

    //@PostMapping("/queryList")
    //public Response queryList(Integer pageNo, Integer pageSize){
        //return Response.success(iArticleService.queryList(pageNo,pageSize));
    //}
    @RequestMapping("/login")
    public String login(Model model){
        return "login";
    }
}
